package com.hfut.stock;

import org.apache.shardingsphere.shardingjdbc.spring.boot.SpringBootConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
//sharding-jdbc 不使用时要禁用掉
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class, SpringBootConfiguration.class})
@MapperScan("com.hfut.stock.mapper")
public class BackendApp {

    public static void main(String[] args) {

        SpringApplication.run(BackendApp.class, args);
    }
}
